import {AddressModel} from './address.model';
import {PhoneModel} from './phone.model';
import {ContactItem} from "./contact-item";
import {ClientType, MslVipLevel, VipLevel} from "./client-type.model";

export class ClientModel extends ContactItem {
    addressList: Array<AddressModel>;
    birthDay: string;
    clientId: string;
    maritalStatus: number;
    phoneList: Array<PhoneModel>;
    salary: number;
    //vip等级  0 | 1 | 2    非|黄金|白金
    vipLevel: VipLevel;
    //宏运世家等级  "0 | 1 | 2"   0非 |  1钻石  |  2至尊
    mslVipLevel:MslVipLevel;
    clientType: ClientType;
    avatar: string;


    constructor(public name: string = void 0,
                public gender: number | string = void 0,
                public orderString: string = void 0) {
        super();
    }
}

export enum ClientFilterWayModel{
    ClientIndividualListPage = 0,
    ClientVipListPage = 1,
    ClientFilterListPage = 2,
    ClientCompensationListPage = 3
}
